﻿#region

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

#endregion

namespace Pob.GameObjects
{
    public class Bande : GameObject
    {
        #region Constructors and Destructors

        public Bande(Game game, string assetName, Vector2 position, float sizeFactor, float spinAbschwächung)
            : base(game, assetName, position, sizeFactor, Color.White)
        {
            SpinAbschwächung = spinAbschwächung;

            Enabled = false;
        }

        #endregion

        #region Public Properties

        public float SpinAbschwächung { get; private set; }

        #endregion

        #region Public Methods and Operators

        public override void Draw(GameTime gameTime)
        {
            SpriteBatch.Begin();
            SpriteBatch.Draw(Textur, Position, null, Color.White, 0, Vector2.Zero, SizeFactor, SpriteEffects.None, 0f);
            SpriteBatch.End();
        }

        #endregion
    }
}